/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package entities;

/**
 *
 * @author Valentina
 */
public class UserVO extends VO{
    String login;
    String password;
    Long idGroup;

    public UserVO() {
    }

    public UserVO(String login, String password, Long idGroup) {
        this.login = login;
        this.password = password;
        this.idGroup = idGroup;
    }

    public UserVO(Long id, String name, String login, String password, Long idGroup) {
        super(id, name);
        this.login = login;
        this.password = password;
        this.idGroup = idGroup;
    }

    public UserVO(String name, String login, String password, Long idGroup) {
        super(name);
        this.login = login;
        this.password = password;
        this.idGroup = idGroup;
    }
    
    public Long getIdGroup() {
        return idGroup;
    }

    public void setIdGroup(Long idGroup) {
        this.idGroup = idGroup;
    }

    public String getLogin() {
        return login;
    }

    public void setLogin(String login) {
        this.login = login;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "UserVO{" + "login=" + login + ", password=" + password + ", idGroup=" + idGroup + '}';
    }
}